import { request } from '@/utils';
import { getRestBaseUrl } from '@/config';

//重新执行
export const rerunTask = id =>
  request({
    url: `${getRestBaseUrl()}/iop/taskService/rerun`,
    method: 'POST',
    data: { id },
    timeout: 3 * 60 * 1000,
  });
